<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div style="margin-bottom: 5px;">
    		<strong>温馨提示：</strong><br/>
    		项目承担单位认真测算并正确填列项目执行期内预计实现目标，绩效目标作为项目评审立项和绩效考核的依据。<br/>注意：指标指定的合理性，绩效目标应与实施项目直接相关。
</div>
<div class="t_bar">
	<span class="color_red">*</span>项目绩效目标表
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="performances" cellspacing="1">

	<tr class="t_tr">
		<td align="center" rowspan="2" nowrap>一级指标类别</td>
		<td class="TblHead" align="center" rowspan="2" nowrap>二级指标类别</td>
		<td class="TblHead" align="center" rowspan="2" nowrap>明细指标</td>
		<td class="TblHead" align="center" colspan="3">实现绩效</td>

	</tr>
	<tr class="t_tr">
		<td class="TblHead" align="center">实施前</td>
		<td class="TblHead" align="center">实施后</td>
		<td class="TblHead" align="center">增幅（%）</td>
	</tr>
	
	
	<tr>
	<td align="center"  rowspan="6">产出类指标</td>
	<td align="center"  rowspan="6">土地利用</td>
	<td align="left" style="">1、土地利用情况</td>
		<td align="center">\
		  <input type="hidden"
			name="performances/performance[03]@sequence" value="03" /> <input
			type="hidden" name="performances/performance[03]/name" value="土地利用情况" />
			<input type="hidden" style="text-align: right;width:80% "
			name="performances/performance[03]/total_design" id="total_design_3"
			label="实施前土地利用情况" onchange="onSetPre(3)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='03']/total_design" />"
			onfocus="InitInput.setNumber(this,9,2,2)" />
		
		<input type="hidden" style="text-align: right; width:80%"
			name="performances/performance[03]/total_author" id="total_author_3"
			label="实施后土地利用情况" onchange="onSetPre(3)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='03']/total_author" />"
			onfocus="InitInput.setNumber(this,9,2,2)"
			 />
		
		<input type="hidden" style="text-align: right;width:80% "
			name="performances/performance[03]/total_standard"
			id="total_standard_3" label="土地利用情况增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='03']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
		<td align="center">\</td>
		<td align="center">\</td>
	</tr>
	<tr>
	<td align="left" style="padding-left: 17px">（1）用地总面积（亩）</td>
		<td><input type="hidden"
			name="performances/performance[04]@sequence" value="04" /> <input
			type="hidden" name="performances/performance[04]/name" value="用地总面积" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[04]/total_design" id="total_design_4"
			label="实施前用地总面积" onchange="onSetPre(4)" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='04']/total_design" />"
			onfocus="InitInput.setNumber(this,9,2,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[04]/total_author" id="total_author_4"
			label="实施后用地总面积" onchange="onSetPre(4)" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='04']/total_author" />"
			onfocus="InitInput.setNumber(this,9,2,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[04]/total_standard"
			id="total_standard_4" label="用地总面积增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='04']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" style="padding-left: 17px">&nbsp;&nbsp;&nbsp;其中：高效用地面积（亩）</td>
		<td><input type="hidden"
			name="performances/performance[05]@sequence" value="05" /> <input
			type="hidden" name="performances/performance[05]/name" value="高效用地面积" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[05]/total_design" id="total_design_5"
			label="实施前高效用地面积" onchange="onSetPre(5);sumTotal(5,6,4);"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='05']/total_design" />"
			onfocus="InitInput.setNumber(this,9,2,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[05]/total_author" id="total_author_5"
			label="实施后高效用地面积" onchange="onSetPre(5);sumTotal2(5,6,4);"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='05']/total_author" />"
			onfocus="InitInput.setNumber(this,9,2,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[05]/total_standard"
			id="total_standard_5" label="高效用地面积增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='05']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" style="padding-left: 17px">&nbsp;&nbsp;&nbsp;其中：低效用地面积（亩）</td>
		<td><input type="hidden"
			name="performances/performance[06]@sequence" value="06" /> <input
			type="hidden" name="performances/performance[06]/name" value="低效用地面积" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[06]/total_design" id="total_design_6"
			label="实施前低效用地面积" onchange="onSetPre(6);sumTotal(5,6,4);"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='06']/total_design" />"
			onfocus="InitInput.setNumber(this,9,2,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[06]/total_author" id="total_author_6"
			label="实施后低效用地面积" onchange="onSetPre(6);sumTotal2(5,6,4);"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='06']/total_author" />"
			onfocus="InitInput.setNumber(this,9,2,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[06]/total_standard"
			id="total_standard_6" label="低效用地面积增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='06']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	
	<tr>
	<td align="left" style="padding-left: 17px">（2）亩均投资强度（万元/亩）</td>
		<td><input type="hidden"
			name="performances/performance[01]@sequence" value="01" /> <input
			type="hidden" name="performances/performance[01]/name" value="亩均投资强度" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[01]/total_design" id="total_design_1"
			label="实施前亩均投资强度" onchange="onSetPre(1)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='01']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[01]/total_author" id="total_author_1"
			label="实施后亩均投资强度" onchange="onSetPre(1)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='01']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[01]/total_standard"
			id="total_standard_1" label="亩均投资强度增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='01']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" style="padding-left: 17px">（3）亩均产出（万元/亩）</td>
		<td><input type="hidden"
			name="performances/performance[02]@sequence" value="02" /> <input
			type="hidden" name="performances/performance[02]/name" value="亩均产出" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[02]/total_design" id="total_design_2"
			label="实施前亩均产出" onchange="onSetPre(2)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='02']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[02]/total_author" id="total_author_2"
			label="实施后亩均产出" onchange="onSetPre(2)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='02']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[02]/total_standard"
			id="total_standard_2" label="亩均产出增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='02']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="center"  rowspan="5">效益类指标</td>
	<td align="center"  rowspan="2">经济效益</td>
	<td align="left" >1、园区新增销售收入（万元）</td>
		<td><input type="hidden"
			name="performances/performance[07]@sequence" value="07" /> <input
			type="hidden" name="performances/performance[07]/name" value="新增销售收入" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[07]/total_design" id="total_design_7"
			label="实施前新增销售收入" onchange="onSetPre(7)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='07']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[07]/total_author" id="total_author_7"
			label="实施后新增销售收入" onchange="onSetPre(7)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='07']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[07]/total_standard"
			id="total_standard_7" label="新增销售收入增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='07']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" >2、园区新增利润总额（万元）</td>
		<td><input type="hidden"
			name="performances/performance[08]@sequence" value="08" /> <input
			type="hidden" name="performances/performance[08]/name" value="新增利润总额" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[08]/total_design" id="total_design_8"
			label="实施前新增利润总额" onchange="onSetPre(8)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='08']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[08]/total_author" id="total_author_8"
			label="实施后新增利润总额" onchange="onSetPre(8)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='08']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[08]/total_standard"
			id="total_standard_8" label="新增利润总额增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='08']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr style="display: none;">
	<td align="left" >3、园区新增出口总额（万元）</td>
		<td><input type="hidden"
			name="performances/performance[09]@sequence" value="09" /> <input
			type="hidden" name="performances/performance[09]/name" value="新增出口总额" />
			<input type="hidden" style="text-align: right;width:80% "
			name="performances/performance[09]/total_design" id="total_design_9"
			label="实施前新增出口总额" onchange="onSetPre(9)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='09']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="hidden" style="text-align: right; width:80%"
			name="performances/performance[09]/total_author" id="total_author_9"
			label="实施后新增出口总额" onchange="onSetPre(9)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='09']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="hidden" style="text-align: right;width:80% "
			name="performances/performance[09]/total_standard"
			id="total_standard_9" label="新增出口总额增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='09']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="center"  rowspan="3">社会效益</td>
	<td align="left" >1、园区新增税收总额（万元）</td>
		<td><input type="hidden"
			name="performances/performance[10]@sequence" value="10" /> <input
			type="hidden" name="performances/performance[10]/name" value="新增税收总额" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[10]/total_design" id="total_design_10"
			label="实施前新增税收总额" onchange="onSetPre(10)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='10']/total_design" />"
			onfocus="InitInput.setNumber(this,9,4,2)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[10]/total_author" id="total_author_10"
			label="实施后新增税收总额" onchange="onSetPre(10)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='10']/total_author" />"
			onfocus="InitInput.setNumber(this,9,4,2)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[10]/total_standard"
			id="total_standard_10" label="新增税收总额增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='10']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" >2、园区增加就业人数（人）</td>
		<td><input type="hidden"
			name="performances/performance[11]@sequence" value="11" /> <input
			type="hidden" name="performances/performance[11]/name" value="增加就业人数" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[11]/total_design" id="total_design_11"
			label="实施前增加就业人数" onchange="onSetPre(11)"
			class="valueCompare:total_design_12:total_design_11"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='11']/total_design" />"
			onfocus="InitInput.setNumber(this,9,0,0)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[11]/total_author" id="total_author_11"
			label="实施后增加就业人数" onchange="onSetPre(11)"
			class="valueCompare:total_author_12:total_author_11"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='11']/total_author" />"
			onfocus="InitInput.setNumber(this,9,0,0)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[11]/total_standard"
			id="total_standard_11" label="增加就业人数增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='11']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
	<tr>
	<td align="left" style="padding-left: 17px">其中：本科以上就业人数（人）</td>
		<td><input type="hidden"
			name="performances/performance[12]@sequence" value="12" /> <input
			type="hidden" name="performances/performance[12]/name" value="其中：本科以上就业人数" />
			<input type="text" style="text-align: right;width:80% "
			name="performances/performance[12]/total_design" id="total_design_12"
			label="实施前本科以上就业人数" onchange="onSetPre(12)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='12']/total_design" />"
			onfocus="InitInput.setNumber(this,9,0,0)" />
		</td>
		<td><input type="text" style="text-align: right; width:80%"
			name="performances/performance[12]/total_author" id="total_author_12"
			label="实施后本科以上就业人数" onchange="onSetPre(12)"
			value="<x:out select="$xmlData/data/performances/performance[@sequence='12']/total_author" />"
			onfocus="InitInput.setNumber(this,9,0,0)"
			 />
		</td>
		<td><input type="text" style="text-align: right;width:80% "
			name="performances/performance[12]/total_standard"
			id="total_standard_12" label="本科以上就业人数增幅" class="gray" disabled
			value="<x:out select="$xmlData/data/performances/performance[@sequence='12']/total_standard" />"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			/>
		</td>
	</tr>
		<tr>
	<td align="center" style="" nowrap>其他需要说明的情况<br/>（限100字）</td>
	<td colspan="5">

			<textarea id="performances" name="performances/summary" rows=7 style="width: 800px;"  label="其他需要说明的情况"  class="textarea  maxlength:100"><x:out select="$xmlData/data/performances/summary" /></textarea>

		    <input type="hidden" name="performances/summary_hidden" id="performances/summary_hidden" value="<x:out select="$xmlData/data/performances/summary_hidden" />"/>
		</td>
	</tr> 
	
</table>

<script type="text/javascript">
function onSetPre(num){
	var val1 = $("#total_design_"+num).val();
	var val2 = $("#total_author_"+num).val();
	$("#total_standard_"+num).val(formatVal((val2-val1)*100/val1));
}

function sumTotal(id1,id2,id3){
	//求和
	var val1 = $("#total_design_"+id1).val();
	var val2 = $("#total_design_"+id2).val();
	var total = parseFloat(val2)+parseFloat(val1);
	$("#total_design_"+id3).val(formatVal(total));
	//重新计算增长率
	calPer(total,id3);
}

function sumTotal2(id1,id2,id3){
	var val1 = $("#total_author_"+id1).val();
	var val2 = $("#total_author_"+id2).val();
	var total = parseFloat(val2)+parseFloat(val1);
	$("#total_author_"+id3).val(formatVal(total));
	sumTotal(id1,id2,id3);
}

function calPer(total,id3){
	var val4 = $("#total_author_"+id3).val();
	$("#total_standard_"+id3).val(formatVal((val4-total)*100/total));
}
</script>


